package cn.bonoon.core.plugins;

import java.util.List;

import cn.bonoon.entities.ServerEntity;

public interface ServerService {

	int TYPE_WEB = 0;
	int TYPE_APPLCATION = 1;
	int TYPE_CONNECTER = 2;
	int TYPE_MQ = 3;

	/**
	 * 当前活动的服务器
	 */
	List<ServerEntity> activities();

	void refreshServer(String key, String ips, String osInfo, String jvmInfo, String serverInfo, String cpuInfo, String memoryInfo, String hardDiskInfo, String otherHardwareInfo);
}
